debug: remove GdkRGB debuggability
authorBenjamin Otte <otte@redhat.com>
Tue, 13 Jul 2010 00:53:51 +0000 (02:53 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 10 Aug 2010 19:02:26 +0000 (21:02 +0200)
GdkRGB is on its way out, so there's no need to have a debugging
category for it.

gdk/gdk.c
gdk/gdkinternals.h

index 340efb963b1bd97cc50dc84eac40d869db0bce40..5b58d1fd0a29e593d179f3fee72de466edd79466 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -71,7 +71,6 @@ static const GDebugKey gdk_debug_keys[] = {
   {"xim",          GDK_DEBUG_XIM},
   {"nograbs",       GDK_DEBUG_NOGRABS},
   {"colormap",     GDK_DEBUG_COLORMAP},
-  {"gdkrgb",       GDK_DEBUG_GDKRGB},
   {"gc",           GDK_DEBUG_GC},
   {"pixmap",       GDK_DEBUG_PIXMAP},
   {"image",        GDK_DEBUG_IMAGE},
@@ -266,9 +265,6 @@ gdk_parse_args (int    *argc,
     }
   g_option_context_free (option_context);
 
-  if (_gdk_debug_flags && GDK_DEBUG_GDKRGB)
-    gdk_rgb_set_verbose (TRUE);
-
   GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));
 }
 
index 4e2b074de64d70082181fe43fe827d2b026ee67b..2691bfc41cb1e0be525df838942e387f135633b0 100644 (file)
@@ -77,16 +77,15 @@ typedef enum {
   GDK_DEBUG_XIM           = 1 << 3,
   GDK_DEBUG_NOGRABS       = 1 << 4,
   GDK_DEBUG_COLORMAP     = 1 << 5,
-  GDK_DEBUG_GDKRGB       = 1 << 6,
-  GDK_DEBUG_GC           = 1 << 7,
-  GDK_DEBUG_PIXMAP       = 1 << 8,
-  GDK_DEBUG_IMAGE        = 1 << 9,
-  GDK_DEBUG_INPUT        = 1 <<10,
-  GDK_DEBUG_CURSOR       = 1 <<11,
-  GDK_DEBUG_MULTIHEAD    = 1 <<12,
-  GDK_DEBUG_XINERAMA     = 1 <<13,
-  GDK_DEBUG_DRAW         = 1 <<14,
-  GDK_DEBUG_EVENTLOOP     = 1 <<15
+  GDK_DEBUG_GC           = 1 << 6,
+  GDK_DEBUG_PIXMAP       = 1 << 7,
+  GDK_DEBUG_IMAGE        = 1 << 8,
+  GDK_DEBUG_INPUT        = 1 << 9,
+  GDK_DEBUG_CURSOR       = 1 <<10,
+  GDK_DEBUG_MULTIHEAD    = 1 <<11,
+  GDK_DEBUG_XINERAMA     = 1 <<12,
+  GDK_DEBUG_DRAW         = 1 <<13,
+  GDK_DEBUG_EVENTLOOP     = 1 <<14
 } GdkDebugFlag;
 
 extern GList            *_gdk_default_filters;